﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BiliBiliCSharpStudy.ch30.d10 {
    class GenericAndDelegate2Lambda {
        public static void Demo() {
            Test1();
        }
        public static void Test1() {
            Func<double, double, double> func1 = (double a, double b) => { return a + b; };
            var result = func1(100.1, 200.2);
            Console.WriteLine(result);
        }
    }
}
